import request from './request';
import axios from "axios";

export function CONSENT_GET_NJ_TJYY(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_NJ_TJYY"
  }
  return request({
    method: 'post',
    data,
  })
}





export function CONSENT_GET_KF_ZYBR(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_KF_ZYBR"
  }
  return request({
    method: 'post',
    data,
  })
}



export function CONSENT_GET_USER(params) {
  const data = {
    params: params,
    type: "CONSENT_LOGIN"
  }
  return request({
    method: 'post',
    data,
    returnAllCodeResponse: true

  })
}

export function CONSENT_LOGIN_OUT(params) {
  const data = {
    params: params,
    type: "CONSENT_LOGIN_OUT"
  }
  return request({
    method: 'post',
    data
  })
}




// 何志接口
export function CONSENT_SAVE_TEMPLATE(params) {
  const data = {
    params: params,
    type: "CONSENT_SAVE_TEMPLATE"
  }
  return request({
    method: 'post',
    data,
  })
}
export function CONSENT_GET_TEMPLATE_LIST(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_TEMPLATE_LIST"
  }
  return request({
    method: 'post',
    data,
  })
}

export function CONSENT_GET_TEMPLATE_INFO(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_TEMPLATE_INFO"
  }
  return request({
    method: 'post',
    data,
  })
}

export function CONSENT_DELETE_TEMPLATE(params) {
  const data = {
    params: params,
    type: "CONSENT_DELETE_TEMPLATE"
  }
  return request({
    method: 'post',
    data,
  })
}


export function CONSENT_PUBLISH_TEMPLATE(params) {
  const data = {
    params: params,
    type: "CONSENT_PUBLISH_TEMPLATE"
  }
  return request({
    method: 'post',
    data,
  })
}

export function CONSENT_GET_CONSENT_LIST(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_CONSENT_LIST"
  }
  return request({
    method: 'post',
    data,
  })
}

export function CONSENT_GET_CONSENT_PATIENT_INFO(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_CONSENT_PATIENT_INFO"
  }
  return request({
    method: 'post',
    data,
  })
}


export function CONSENT_GET_CONSENT_INFO(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_CONSENT_INFO"
  }
  return request({
    method: 'post',
    data,
  })
}



export function CONSENT_SIGN(params) {
  const data = {
    params: params,
    type: "CONSENT_SIGN"
  }
  return request({
    method: 'post',
    data,
  })
}


export function CONSENT_DELETE(params) {
  const data = {
    params: params,
    type: "CONSENT_DELETE"
  }
  return request({
    method: 'post',
    data,
  })
}
export function CONSENT_GET_ZK_LIST(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_ZK_LIST"
  }
  return request({
    method: 'post',
    data,
  })
}
export function CONSENT_GET_TJ_LIST(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_TJ_LIST"
  }
  return request({
    method: 'post',
    data,
  })
}
export function CONSENT_GET_FS_LIST(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_FS_LIST"
  }
  return request({
    method: 'post',
    data,
  })
}
export function CONSENT_GET_FJ_LIST(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_FJ_LIST"
  }
  return request({
    method: 'post',
    data,
  })
}
export function CONSENT_GET_DOCTOR_DZQM(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_DOCTOR_DZQM"
  }
  return request({
    method: 'post',
    data,
  })
}
export function CONSENT_PUBLISH(params) {
  const data = {
    params: params,
    type: "CONSENT_PUBLISH"
  }
  return request({
    method: 'post',
    data,
  })
}


//cs
export function CONSENT_GET_HYX_TJYY(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_HYX_TJYY"
  }
  return request({
    method: 'post',
    data,
  })
}


export function CONSENT_GRANT_USER_ROLE(params) {
  const data = {
    params: params,
    type: "CONSENT_GRANT_USER_ROLE"
  }
  return request({
    method: 'post',
    data,
  })
}
export function CONSENT_GET_USER_LIST(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_USER_LIST"
  }
  return request({
    method: 'post',
    data,
  })
}


export function CONSENT_GET_ROLE_LIST(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_ROLE_LIST"
  }
  return request({
    method: 'post',
    data,
  })
}




export function CONSENT_GET_ROLE_INFO(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_ROLE_INFO"
  }
  return request({
    method: 'post',
    data,
  })
}

export function CONSENT_SAVE_ROLE(params) {
  const data = {
    params: params,
    type: "CONSENT_SAVE_ROLE"
  }
  return request({
    method: 'post',
    data,
  })
}


export function CONSENT_DELETE_ROLE(params) {
  const data = {
    params: params,
    type: "CONSENT_DELETE_ROLE"
  }
  return request({
    method: 'post',
    data,
  })
}


//单点登录
export function GET_SSO_LOGIN(params) {
  const data = {
    params: params,
    type: "SSO_LOGIN"
  }
  return request({
    method: 'post',
    data,
  })
}

export function CONSENT_PUBLISH_HTML(params) {
  const data = {
    params: params,
    type: "CONSENT_PUBLISH_HTML"
  }
  return request({
    method: 'post',
    data,
  })
}

export function CONSENT_CONVERT_HTML_TO_PDF(params) {
  const data = {
    params: params,
    type: "CONSENT_CONVERT_HTML_TO_PDF"
  }
  return request({
    method: 'post',
    data,
  })
}






export function CONSENT_GET_CURRENT_VERSION(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_CURRENT_VERSION"
  }
  return request({
    method: 'post',
    data,
  })
}




export function CONSENT_SORT_TEMPLATE(params) {
  const data = {
    params: params,
    type: "CONSENT_SORT_TEMPLATE"
  }
  return request({
    method: 'post',
    data,
  })
}


export function CONSENT_UNPUBLISH_TEMPLATE(params) {
  const data = {
    params: params,
    type: "CONSENT_UNPUBLISH_TEMPLATE"
  }
  return request({
    method: 'post',
    data,
  })
}


export function CONSENT_GET_NJ_SQDSJ(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_NJ_SQDSJ"
  }
  return request({
    method: 'post',
    data,
  })
}

export function CONSENT_GET_FKLC_SQDSJ(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_FKLC_SQDSJ"
  }
  return request({
    method: 'post',
    data,
  })
}
export function CONSENT_GET_DOCTOR_DZQM_BY_YHMM(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_DOCTOR_DZQM_BY_YHMM"
  }
  return request({
    method: 'post',
    data,
  })
}

export function CONSENT_GET_PATIENT_XDT_INFO(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_PATIENT_XDT_INFO"
  }
  return request({
    method: 'post',
    data,
  })
}

//获取公众号公告信息
export function CONSENT_GET_OFFICIAL_ACCOUNT_DATA(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_OFFICIAL_ACCOUNT_DATA"
  }
  return request({
    method: 'post',
    data,
  })
}

//更新公众号公告信息
export function CONSENT_UPDATE_OFFICIAL_ACCOUNT_DATA(params) {
  const data = {
    params: params,
    type: "CONSENT_UPDATE_OFFICIAL_ACCOUNT_DATA"
  }
  return request({
    method: 'post',
    data,
  })
}


//获取公众号科室信息
export function CONSENT_GET_KS_INFO(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_KS_INFO"
  }
  return request({
    method: 'post',
    data,
  })
}

//获取公众号医生医疗专长信息
export function CONSENT_GET_YS_INFO(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_YS_INFO"
  }
  return request({
    method: 'post',
    data,
  })
}

//更新公众号科室信息
export function CONSENT_UPDATE_KS_INFO(params) {
  const data = {
    params: params,
    type: "CONSENT_UPDATE_KS_INFO"
  }
  return request({
    method: 'post',
    data,
  })
}

//更新公众号医生医疗专长信息
export function CONSENT_UPDATE_YS_INFO(params) {
  const data = {
    params: params,
    type: "CONSENT_UPDATE_YS_INFO"
  }
  return request({
    method: 'post',
    data,
  })
}

//获取医生医专长修改记录的标识
export function CONSENT_GET_YSBS_INFO(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_YSBS_INFO"
  }
  return request({
    method: 'post',
    data,
  })
}  

//获取科室信息修改记录的标识
export function CONSENT_GET_KSBS_INFO(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_KSBS_INFO"
  }
  return request({
    method: 'post',
    data,
  })
} 

export function CONSENT_GET_MZK_PATIENT_LIST(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_MZK_PATIENT_LIST"
  }
  return request({
    method: 'post',
    data,
  })
}
export function GET_ADDRESS_LIST(params) {
  const data = {
    params: params,
    type: "GET_ADDRESS_LIST"
  }
  return request({
    method: 'post',
    data,
  })
}


export function CONSENT_GET_XDSLS_SQDSJ(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_XDSLS_SQDSJ"
  }
  return request({
    method: 'post',
    data,
  })
}

export function CONSENT_GET_EBHK_SQDSJ(params) {
  const data = {
    params: params,
    type: "CONSENT_GET_EBHK_SQDSJ"
  }
  return request({
    method: 'post',
    data,
  })
}
